﻿@model NGrid.Models.NGridPart

<fieldset>
    <legend>Grid Options</legend>

    <div class="editor-field">
        @Html.CheckBoxFor(model => model.EnablePaging, new { @class = "check-box" })
        <label for="EnablePaging" class="forcheckbox">@T("Enable Paging")</label>
    </div>

    <div class="editor-field">
        @Html.CheckBoxFor(model => model.EnableSorting, new { @class = "check-box" })
        <label for="EnableSorting" class="forcheckbox">@T("Enable Sorting")</label>
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.TargetTableName)
    </div>
    <div class="editor-field">
        @Html.TextBoxFor(model => model.TargetTableName)
        @Html.ValidationMessageFor(model => model.TargetTableName)
    </div>

</fieldset>